﻿namespace Transformable_Engine_v2.Engine.Helper
{
    public static class AngleHelper
    {
        public static double TimesPi(this double angle)
        {
            return angle*System.Math.PI;
        }
        public static double TimesTwoPi(this double angle)
        {
            return angle*2*System.Math.PI;
        }

        public static double AsTwoPiMultiple(this double angle)
        {
            return angle/(2*System.Math.PI);
        }

        public static double RadiansToDegrees(this double angle)
        {
            return angle*180/System.Math.PI;
        }
    }
}